local dumpcatcher_sources = "dfx_dump_catcher.cpp"

target("dfx_dumpcatcher")
	set_kind("$(kind)")
	add_files(dumpcatcher_sources)
	add_includedirs("include", {public=true})
	add_headerfiles("include/*.h")
	add_includedirs("$(projectdir)/interfaces/common")
	add_cxflags("-fstack-protector-strong")
	add_deps(
		"dfx_hilog",
		"dfx_util",
		"dfx_trace_dlsym",
		"backtrace_local",
		"faultloggerd",
		"dfx_procinfo"
	)
	add_packages(
		"c_utils",
		"hilog"
	)
